//
//  CommonTools.swift
//  weiboSina
//
//  Created by admin on 15/12/27.
//  Copyright © 2015年 admin. All rights reserved.
//

import UIKit

//屏幕尺寸
let SCREEN_size = UIScreen.mainScreen().bounds
//屏幕的宽度
let SCREEN_width = UIScreen.mainScreen().bounds.width
//屏幕高度
let SCREEN_height = UIScreen.mainScreen().bounds.height

// 根控制器切换的通知
let HMSwitchRootViewControllerNotification = "HMSwitchRootViewControllerNotification"
// 随机颜色
func RandomColor() -> UIColor {
    
    return UIColor(red: CGFloat(arc4random() % 256) / 255, green: CGFloat(arc4random() % 256) / 255, blue: CGFloat(arc4random() % 256) / 255, alpha: 1)
}
